home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / c / puts.man < prev    next >
Encoding:
Text File  |  1989-06-29  |  1.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. PUTS                  C Library Procedures                   PUTS
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      puts, fputs - put a string on a stream
  10.  
  11. SSYYNNOOPPSSIISS
  12.      ##iinncclluuddee <<ssttddiioo..hh>>
  13.  
  14.      ppuuttss((ss))
  15.      cchhaarr **ss;;
  16.  
  17.      ffppuuttss((ss,, ssttrreeaamm))
  18.      cchhaarr **ss;;
  19.      FFIILLEE **ssttrreeaamm;;
  20.  
  21. DDEESSCCRRIIPPTTIIOONN
  22.      _P_u_t_s copies the null-terminated string _s to the standard
  23.      output stream ssttddoouutt and appends a newline character.
  24.  
  25.      _F_p_u_t_s copies the null-terminated string _s to the named out-
  26.      put _s_t_r_e_a_m.
  27.  
  28.      Neither routine copies the terminal null character.
  29.  
  30. SSEEEE AALLSSOO
  31.      fopen(3S), gets(3S), putc(3S), printf(3S), ferror(3S)
  32.      fread(3S) for _f_w_r_i_t_e
  33.  
  34. BBUUGGSS
  35.      _P_u_t_s appends a newline, _f_p_u_t_s does not, all in the name of
  36.      backward compatibility.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0               May 15, 1985                          1
  64.  
  65.  
  66.  
  67.